package io.renren.modules.app.service;



import io.renren.modules.app.req.weixin.WeChatUnifiedPayReq;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.Map;

/**
 * @author create by MR.XU email:260139486@qq.com
 * @projectName map-clothes-app-api
 * @Description: 微信支付相关服务
 * @date 2019-11-05
 */
public interface WeChatPayService {

    Map<String, Object> unifiedPaymentOrder(WeChatUnifiedPayReq weChatUnifiedPayReq, HttpServletRequest request, HttpServletResponse response) throws IOException;

    void WxPayNotify(HttpServletRequest req, HttpServletResponse resp) throws Exception;

//    void asyncOperateOrder(UserOrder order);

    Map<String, String> WxPayQueryResult(WeChatUnifiedPayReq weChatUnifiedPayReq, HttpServletRequest req, HttpServletResponse resp) throws IOException;
}
